package com.gcd.knowledge;

public class TreeJandu extends Tree {
	public TreeJandu() {
		nodes = new Node[] {

				new Node("jandu", "root", Node.TYPE.QUESTION,
						Node.QUESTION.JENIS_KELAMIN_PEWARIS, "laki", "wanita",
						"solusi jandu 1", null, "Karena"),

				new Node("jandu", "laki", Node.TYPE.QUESTION,
						Node.QUESTION.HAS_ISTRI, "has anak 1",
						"solusi jandu 2", "solusi jandu 2", null, "pewaris laki-laki"),

				new Node("jandu", "wanita", Node.TYPE.QUESTION,
						Node.QUESTION.HAS_SUAMI, "has anak 2",
						"solusi jandu 3", "solusi jandu 3", null, "pewaris perempuan"),

				new Node("jandu", "has anak 1", Node.TYPE.QUESTION,
						Node.QUESTION.HAS_ANAK, "solusi jandu 4",
						"solusi jandu 5", "solusi jandu 6", null, "memiliki istri"),

				new Node("jandu", "has anak 2", Node.TYPE.QUESTION,
						Node.QUESTION.HAS_ANAK, "solusi jandu 7",
						"solusi jandu 8", "solusi jandu 9", null, "memiliki suami"),

				new Node("jandu", "solusi jandu 1", Node.TYPE.SOLUTION, null, "",
								"", "", 1, "jenis kelamin pewaris ragu-ragu"),
								
				new Node("jandu", "solusi jandu 2", Node.TYPE.SOLUTION, null, "",
								"", "", 2, "tidak/ragu-ragu memiliki istri"),
										
				new Node("jandu", "solusi jandu 3", Node.TYPE.SOLUTION, null, "",
								"", "", 3, "tidak/ragu-ragu memiliki suami"),
				
				new Node("jandu", "solusi jandu 4", Node.TYPE.SOLUTION, null, "",
								"", "", 4, "memiliki anak"),
														
			    new Node("jandu", "solusi jandu 5", Node.TYPE.SOLUTION, null, "",
								"", "", 5, "tidak memiliki anak"),
					    
				new Node("jandu", "solusi jandu 6", Node.TYPE.SOLUTION, null, "",
								"", "", 6, "ragu-ragu memiliki anak"),
								
				new Node("jandu", "solusi jandu 7", Node.TYPE.SOLUTION, null, "",
						"", "", 7, "memiliki anak"),
				
				new Node("jandu", "solusi jandu 8", Node.TYPE.SOLUTION, null, "",
						"", "", 8, "tidak memiliki anak"),
						
				new Node("jandu", "solusi jandu 9", Node.TYPE.SOLUTION, null, "",
						"", "", 9, "ragu-ragu memiliki anak"),	
		};
	}
}